<?php
class Logfile
{
	var $fp;
	
		function Logfile(){
			$myFile = "log.txt";
			$this->$fh = fopen($myFile, 'w') or die("can't open file");
			$stringData = "Bobby Bopper\n";
			fwrite($fh, $stringData);
			$stringData = "Tracy Tanner\n";
			fwrite($fh, $stringData);
			fclose($fh);	
		}

	
}

?>